package com.univrz.flexmachine.events
{
	
	
	import flash.events.Event;



	public class StateMachineEvent extends Event
	{
		
		
		
		public static const WILL_HAVE_EFFECT_CHANGED				:String = "willHaveEffectChanged";

		public static const IS_ENABLED_CHANGED					:String = "isEnabledChanged";
		
		public static const IS_COMPLETE_CHANGED					:String = "isCompleteChanged";
		
		public static const IS_ACTIVE_CHANGED						:String = "isActiveChanged";

		public static const COND_CHANGED							:String = "condChanged";




		public static const ENTER									:String = "enter";
		
		public static const EXIT									:String = "exit";

		public static const DONE									:String = "done";
		
		public static const FIRE									:String = "fire";



		
		public function StateMachineEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super( type, bubbles, cancelable );
		}
		
		
		
		public var event:Object;
		
		
		
		override public function clone():Event
		{
			return new StateMachineEvent( type, bubbles, cancelable );
		}
		
		
	}


}